package com.crr.mall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.crr.mall.common.utils.PageUtils;
import com.crr.mall.product.entity.AttrEntity;
import com.crr.mall.product.vo.AttrVO;

import java.util.List;
import java.util.Map;

/**
 * 商品属性
 *
 * @author chenrenren
 * @email chenrenren@gmail.com
 * @date 2024-11-22 17:42:37
 */
public interface AttrService extends IService<AttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 分页查询加条件查询
     * @param map
     * @return
     */
    PageUtils queryByCondition(Map map);

   int saveAttr(AttrVO attr);

    int updateAttr(AttrVO attr);
}

